fix bug related to default x/y position of elements when a shape property is specified in the constructor options