Fix thumbnail parsing.