Fixed issues with the navbar when opened in iframe