Fixes some nav issues on ios