Got rid of issue with clicking an empty square.