update hud viewport when window is resized