Changed the way the player is rendered

Errors at marked location in main.cpp