Utilize the 'clip' CSS property for masks instead of moving them.