Fix bugs in pointplot and barplot for bootstrapping and errorbars