Moved all the canvas item methods into mixins so they can be applied to tags too.