Skipping window decoration creation apparently resolves the freeze, although I'm unable to redo this on my system.