Fix panel alignment in firefox