fix for issue #122, problem with end game overlay