fixed rendering bug on the player class
working on sprite engine