Optimizing moveSpeed calculation
Optimizing tile drawing