Fixed vertical buffer open/close issue