Fix CaretBrush

Resolves #937