When you put a symbol above a note (such as a fermata in the 2nd ending), the ending brace that contains the symbol is literally raised higher than the other ending without the symbol. This occurs both on-screen and when exporting to PDF. Of course, both ending braces should be at the same height above the staff.