fix height clamping in image_view and grid_view - closes #1940