reset zoom and pan when a new image is opened in osd.  close osd explicitly before opening a new one to close handlers