Swap render targets when drawing spline/beziers.
Merge pull request #3994 from unknownbrackets/bezier

Swap render targets when drawing spline/beziers