Fixed to work with ggplot2 0.9.2+

Finally!