Fixed clicking away bug