Added correct rendering code for player