Fixed some crashes in embedlite multiple view management. make test with VIEW_COUNT=40 reproduce 100% bug 935846