Fix code editor extra selections