Odd pasting behaviour in terminal

I’m using zsh with alacritty. For some reason whenever I try to paste text in the terminal it pastes the copied text twice (original copied text duplicated). This only started happening very recently, and I’m not sure what may have triggered it.

Any ideas what the problem might be?