fixed collision detection with world(needs testing on low fps)