Prevent that weird tab flash