[#542] attempt at fixing polyline/line rotation support