Fixed issue with finishing game and resized window.