Fixed UI capturer with layers
Merge branch 'uiFix' into develop