Workaround for a flash player bug that causes onFocus / onFocusLost to fire twice