Passing canvas into sumulation grid