Fix TextCanvas.__init__ order, now all tests pass