Working on resizing canvas