scatterplot: fix treatment of margin top/left; fix bug regarding n/a points