forked from: forked from: scrollRect and mask performance check

