fixes to image pane to distinguish between image and background image selection