move wantsLayer into tab view's child view because Core Animation with dark mode in OS X 10.10 has a bug that tab view's background color will be black.