PowerShell seems to screw with asciinema on my terminal

You can see what i’m talking about here: asciicast:488133 - asciinema

Basically, I think PowerShell’s fancy syntax highlighting is making the output appear on the wrong line. Is there any way to fix this?