Fixed with zsh version from shell repo: 5.3.1. Strange issue.
I found a similar bug report upstream. https://bugs.kde.org/show_bug.cgi?id=373162 Indeed, after testing, it happens only with zsh.