crash on exit from xml form document with accessibility enabled

Change-Id: If60075b939569cf339f7ccf7e39e513fbe1f74bf