I have a specific Blender file that lags really badly every time I draw a new grease pencil stroke. I've tried drawing in a fresh Blender file, and it works fine. So I'm thinking this file has some weird settings or something to cause this delay. Once I draw a stroke it becomes completely unresponsive for a few seconds before I can draw another one, or even do anything else. The file size isn't that big either so I'm a bit stumped. Here's the file for reference. Any help would be much appreciated!
Here's a screen recording as well showing two Blender projects side by side. The project on the left has no issues with drawing new strokes. The one on the right doesn't record all the strokes. After one stroke is made, the program freezes for a few seconds before I can draw again. Sometimes this lasts a long time too.
Left side - project without lag ................................ Right side - project with lag