Fix setting of position in remote controlled web app