canvas size bugfix on .clear