Added GUI max dimension constraints