Fixed problems with static body init in physics system.