Fix hardhat sprite not updating