canvas timer syncronization