Fix 100% width when tree is hidden.