Updates template. Zoom in/out works ok, Set window size also works.