fixed get_window in the game class