fix Safari editor weirdness