prevent small bitmaps from unnecessary enlargement