Possible fix for https://github.com/CovertJaguar/Railcraft/issues/357