Fix bar charts after enabling strictmath mode