Reverted changes from FlxPhysState (second try).