Error clicking blank area

When clicking on any area that isn't a day, you get stuck in the while
loop. This prevents that.