Updated to pixel perfect collisions