Are you working with 16x16 sprites? Because those are the easiest to work with for bg collision.