Fixed a bug when rendering the player's remaining number of lives.