Optimalized svg rendering