[[ Bugfix 13741 ]] Fix multiple middle-click pasting issues