showImage() now resets the viewport to default unless a viewport is supplied to it