Improve compatibility with Safari

Please specify vendor prefixes first.