Textures now apply correctly