Weird Glitch in 12R

My OnePlus 12R has this glitch where the app icon stays on the screen for sometime after I close it. Is it a software issue? I'm worried if it's a sign of impending ghosting problem.