Fixed paint state of tab title when tab is initially disabled