Fix coordinates order