osx texture fix