Fix for broken top nav in Safari