Fix firefox max-width bug