little but ugly, but repaired a bug that mouseDeltaMove was not correct when defocus focus happened