updateviewportheight: prevent for erroneus image retrievals to break viewport size.