Fix coordinate logging