Fix a minor bug in the imager component