Fixed problem with chart.print() printing the entire parent page when called from within an iframe in IE. Closes #1510.