turns canvas off if it is on when browser action is pressed