Preserve user settings between versions
Fix crash when viewing some maps with features close to the edge