Fixes to physics.