Fix panel height calculation in Opera