Fixed display issue with navbar in Safari