Fixing copy paste selection