fixes for game resize logic