Fix CopyPaste error that ment a_MaxRelX wasdn't checked

Fixes CID 70464