Compute position from overlay coordinates.