Fix to rendering of strokes