Solve map canvas flickering on X11 (linux) systems

With this fix, the flickering disappears but you are still able to

* enable incremental rendering
* cancel the rendering process
* not having artifacts