Box2D implementation improvements