Shell integration breaks multi-line prompt in fish shell

I use a double-lined custom prompt with my fish shell and it seems that the new shell integration, with its extensions to the prompt, breaks the double line and flattens it out into a single line.

I'm attaching a screenshots showing the process from the "before" to the "after".iTerm2_multilne_shell