refresh caret on enter/exit fullscreen