bugfix for image displays