Pokémon Sword and Pokémon Shield are 2019 role-playing video games developed by Game Freak and published by The Pokémon Company and Nintendo for the Nintendo Switch console. From Wikipedia
Outlets say the fleeting cursor is a harmless visual oversight that does not affect gameplay.