fixing tabs when show_tab_close_buttons is true. Fixes #18