Make the overlay work again.

The brackets in this if statement weren't quite right.
Merge pull request #152 from silviapfeiffer/showOverlay

Make the overlay work again.