Fix return of toBasic() for geom_density2d