Put mouseup event on window
Revert "Put mouseup event on window"

This reverts commit 3f15ab9fdf2b4d2d621125ba20c6c8499ab4c9b7.
Put mouseup event on window