Cursor changes color after restart