Fix sprite lag issue