Fixes crash in CarbonFibers : Thanks to Garaddon for finding this.