Fixed a transformation issue when using Box2d