prevent some lighttable glitches in case of very small input images

still no thumbnail displayed for images with sizes up to 8x8