Fixed the rendering of player sprites