The focus attribute simply follows the cursor focus state. Is there a reason we can't just put this on the cursor node in the Caret class instead?