iFrame showing the wrong frame on first load

Does anyone know why on first load of my webpage, Grafana shows the whole page embedded in my iframe rather than just the panel, for the second panel it shows just the panel which is correct