Setup for subclassing canvas