Re-enable the conditional block around chart's canvas