Fixed NPE in RectangleCreateCommand