You want mount_dx/dy to be 0, so shouldn't this be -= dx and -= dy?