Signature field expands strokes (line width) every time it is clicked

Hi all,

I know this is a frappe issue but Im calling for help by JS wizzard
please see this issue on github

https://github.com/frappe/frappe/issues/5363

as I am not really shure how to propperly fix it