Fix thumbnail behavior