Remove rect2d.upperCorner