Fixed #464 NullReferenceException when browser is disposed while focused