Improved collision detection and camera management.