updated canvas engine and mario