Negative coordinates were sometimes obtained when x < dotSize fixed by taking the absolute value of x and y.

Signed-off-by: seal20 <agostini.sylvain@kurofune.shimoda.tsukuba.ac.jp>