Fixed some incompatibilities

Fixed some incompatibilities that prevent canvas from showing up.