Minor bug fixes for rCharts support