game now knows new dimensions when window size changed