solve mandelbrot mozila bug