Only drawing single flag per row
Tweaking contour drawing