add _adjustXY

Signed-off-by: OHTSUKA Ko-hei <kochizufan@gmail.com>