More collision handling fixes

Collision check now happens at every pixel between the current position and the next position of a moving object.