Fixes display issue on Firefox