Click events, bugged when switching windows and inaccurate