Fixed deleting tmpCanvas for tile drawing