Fixed animation bug in player sprite