Fixed coordinate handling.