dock-apps-builder:: improve isNormalWindow