update win and canvas sizes only if fullscreen