fixed mouse "focus" bug