merge fix paste behavior in firefox