Added check to make sure the Canvas theme is activated

This was added to check that canvas theme is activated