Removed position property on entity becanse we only use rectangle.x/y for position. Added some comments