Fixed mouse click bug