Fixed lag issue when crossing tile boundaries