Fix offset on inactive tabs