fixed the bug that view canvas and brand button is uneffictive