Fixed bug where some textures weren't initialized.