Adjust the positions of masks when a window is resized.
Initially focus on the first row.