Fixed deadlock caused by rerender in Release ver.