fixing edge render (how did it ever work?)