imageGUI: bounds checking on image viewing.