If the pointer is moved out a window relatives coordinates can get negative in X. This case wasn't handled. fixed #1654