viewport fix

refs #85