fix bug on firstTab detection for rendering.
fix bug on firstTab detection for rendering.

KDE/oxygen-gtk,blueshell-next/carbon-gtk,blue-shell/carbon-gtk,blueshell-next/carbon-gtk,KDE/oxygen-gtk,blue-shell/carbon-gtk