Properly fix 510e7d0779

Previous commit introduced new bug, background tabs didn't have close
buttons.