fixed the drawImage in the game