Fixes to OgreMaterialParser.