Fixed bug which was rendering the wrong textures (they were switched)