Fixed error in ViewingFrame.