Fix crash in slices

Test: example app
Change-Id: I0486a1663ceee4dce51a317795919ff9ae045a6f
1 file changed