Fix glitch in tabs