fix display on gecko browsers