Thank you very much for your contribution to help me on this question.
I tried to adjust the wacom sensitivity, but that did not help.
I tried to deactivate the “Auto Select Subtool” and it seems to actually have solved my problem.
I found a similar problem when using the smoothing command as I was pressing the shift key, and drawing with my pen on the model. Occasionally the camera would zoom in further towards the model.
This seems to also have been connected to the “Auto Select Subtool” as it looks like the problem have disappeared after deactivating the feature.
I will reply to this thread again if the problem comes back.
If it does not, thank you very much for the help again, as it was much appreciated.