Merge "Makes sure the magnifier source bounds doesn't beyond the surface." into rvc-dev