[MediaPlayer] Fixed the player class for Display to be detached when the player is...