Perfectly normal reaction when you are beginning to shoot a flintlock. After all, there is an explosion going on right in front of your eyes. So, let's work through it.
First, wear glasses to protect your eyes and your perception of what's going on.
Now, grip the wrist of the stock firmly, but...