Fix a bug when parsing court coordinates