small fix to density when hist is scaled