fix #75. add focus and blur event for window.