Fix code editor tab menu