kcm: Bring back accidentally removed function call
It was removed as part of 199102b1
but that didnt check if the initialization of the variable has
side effect.
This improves the readjusting of the output view in the kcm.
(cherry picked from commit 07f2f680)