Fixed mouse click event