Fix potential crash when parsing DeHackEd strings