Fixed texturepack issues