Some modifications of maxspeed style to avoid unexpected rendering order