workaround of webkit bug with touchend and rerender delay