Added support for Mapnik z19, some modifications to avoid incomplete canvas rerendering