Fix Qt4 mouse drag.