plot_image_ui actually fixed unnecessary window

previous commit did not fix creation of unnecessary window