Fix texture hack in fences.