[[ Bug 10840 ]] Render the caret as black against a transparent background (otherwise it is invisible).
Merge branch 'bugfix-10840' into release-6.1.1