update viewport size after loading game