Fixed a bug where MousePressed would be triggered whenever the mouse is up