fixed a bug when you clicked in the dark