Fixed clicking ui bug