Not initializing canvas each time updating