Adding init, resize, and hitTestPoint(stub) to enable canvas interaction.