Fixed 2d texture loader
Improve formats support