mouse drag/select fix