change Rectangle.getSize() from Box2d to Vector2d