Fix safari browser navbar bug