Fix for factor dotplots