correct offset of integer coordinates (gabriele)