Fix max/min of real/imagine in Mandelbrot function