fixed cursor being visible in non-focused mini-editor