ref 1087 Fixed edge drawing when zooming.