Attempt to get escaping correct for NMI. #4146