fix a bug that caused the openState to be wrong after a close in renderOnOpen mode.
0.3.2