slightly different approach to thumbnail bleed fix, more consistent