Fixed canvas object in main