Gnome - Cannot click between windows or click on UI elements with Mad Catz R.A.T. 3 mouse

So after doing some more research, I stumbled upon a thread with the same question. It turned out to be a problem with my Mad Catz R.A.T. 3 mouse. I didn't realise that i didn't have any drivers for it. Here's how you can fix this issue.

Write this section to /etc/X11/xorg.conf:

Section "InputClass"    Identifier "Mouse Remap"
    MatchProduct "Madcatz Mad Catz R.A.T.3 Mouse"
    MatchDevicePath "/dev/input/event*"
    Option "ButtonMapping" "1 2 3 4 5 6 7 8 0 0 0 0 0 0 0 0 0 0 0"
EndSection

PS: Here's a link to ArchWiki. It has all the information you need to set up your mad catz mouse.