Prevent quirky Firefox behavior