Minor fix. There is still the issue of the mouse up
Remove reference to window height