Fix for failed escape codes not parsing right.