Fix crash on click without movement.