fixed set_mouse_pos