Mandelbrot: Fix the kernel creation when a formula is selected