Fixed chart size bug