Fixed paste buffer being destroyed by queue updates