fixed iframe onload to not trigger the first time. closes #549