Added checks to MPLImageViewer to handle pressing and dragging
off screen as well as the case where no circle gets drawn
programatically at the start.