Task #39891: fixed troubles with cardinal position