Fix coordinate destructuring