Add tile functions to canvas