fixes left click making menu hang