clip size1 and size2 by matrix size when zoomed