fix trimmed texture