fix mouse cursor with keyboard