Another attempt at fixing cross browser copy and paste behavior