Fixed a shader related crash and textured ribbon's material

Fixes a game crash when creating or loading a ribbon, and reverts a change in the ribbon material datablock that broke textured ribbons.