Fixed bug where mousemove and mouseup events weren't being unbinded