Fixed a bug in the rendering of the player.