Fix a few errors in IE and Firefox

`scrollIntoViewIfNeeded` is a non-standard webkit/blink extension
`frameStyle.pointerEvents = null` doesn't work on IE, setting empty string is
effective