fixes #519: ie8 bug with iframe & activeElement