fix firefox layout issue