fix wrong assignment for {xpos: 50, ypos: 50}