Fixed use of dataLim and viewLim for global images.