Trying to fix navigation issue on Safari