(WRONG FIX) Fixes textures' loading under Mac OS X