This is a horrible commit. But I think that this line should be removed. I don't like how empty fields are marked invalid when you switch coordinate types.