Updated: Image Occlusion, the use of end arrow results Error

First I thought the add-on sometimes works, sometimes doesn’t. After tinkering around I found out it only errors If I use endpoint arrows.
Not the most urgent issue but it would be cool if this was fixed
I have done all the “when problems occur” except the Change the Video Driver.

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.32 (dee7d45d) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-01-31 19:05:22

Caught exception:
Traceback (most recent call last):
File “aqt\webview.py”, line 493, in handler
File “C:\Users\USER\AppData\Roaming\Anki2\addons21\1374772155\add.py”, line 278, in
lambda val, choice=choice, close=close: self._onAddNotesButton(choice, close, val))
File “C:\Users\USER\AppData\Roaming\Anki2\addons21\1374772155\add.py”, line 293, in _onAddNotesButton
r = gen.generateNotes()
File “C:\Users\USER\AppData\Roaming\Anki2\addons21\1374772155\ngen.py”, line 80, in generateNotes
(svg_node, layer_node) = self._getMnodesAndSetIds()
File “C:\Users\USER\AppData\Roaming\Anki2\addons21\1374772155\ngen.py”, line 190, in _getMnodesAndSetIds
mask_doc = minidom.parseString(self.new_svg.encode(‘utf-8’))
AttributeError: ‘NoneType’ object has no attribute ‘encode’