Fixed texture problems