Attempted to fix mousemove bug