mouseUp is detected even if its outside the canvas