Fix rendering crash in UE4.