DrawFormattedText: Fix text clipping with optional winRect parameter.

Didn't clip properly, causing the bug described in PTB forum
message 18009.