[BUG #7726] Consider root widgets when attaching the blocker.