DRY up the image plane widget iteration.