Use areDatumsValid in Connection::paint too