svg fixes for safari and chrome