Crazy bug that locks CMD+Tab and mouse clicks

I had a problem similar to this and killing BetterTouchTool always made it stop.