Fixes bug with mouse scroll handling.
X mouse scroll events comes as mouse button press and release
events. On the windows sider the release is interpreted as an
additional scroll down event.
Thanks goes to David Fries for this patch.