Fix Display bug on Firefox