[Bug 4679] Mouse cannot be moved out of the window