Added a tick function to reload the Canvas