Refresh mask method, refresh for layoutSubviews