Fix box coordinate order for d3 maps