Moving the canvas origin info from the global app_context to module variables