Fixes right-side border occlusion in record edit form.