Right-click to repeat last command or enter stopped working.

I checked mouse and settings and everything is okay. It happened mid drawing and I cannot seem to fix it. Please help!