[fix] firefox layout bug