Changed the min and max size of the viewer.