Getting image selection via mouse event to work.