topwin: fix window modaling

This fix a bug that forgot to modal the chilren of root window.