AUI-1639 if maxHeight was set in ImageViewer, this was not properly rendered