Narrow miss for New Zealand dinghy as huge liner looms