fix Issue4819

This allow to have good interactivity with highlighted polygons with over 75k vertices (http://www.faunalia.pt/downloads/test_slow_vector.zip).