Image Viewer UI Fix

Corrected a bug where the data window of an image is displayed incorrectly in the ImageViewer.
This bug is only noticeable when viewing an image with and offset display window.