I updated my PR, removing the visibility change. All it does now is slow the timer to 500ms, bringing it in line with MacOS and Windows.
RE: painting issues, these went deeper than expected and weren’t trivially fixable.
This is the (yukky) way I’m slowing the caret until hopefully it can be fixed in JUCE.