Fixed a bug in the pixel value inspector.
Closes issue #401.
Merge pull request #484 from goddardl/ImageViewerUpdateBug

Fixed a bug in the pixel value inspector.