Some media fields like
file_advanced ... use an input type hidden to store the media information and field settings. It does not like other visual fields such as
textarea where the input is visible and scrolls down when the validation fires.
I'm going to create a feature request for the developer team to improve the user experience in this case. Thank you.