Fixes issues where global is undefined and radius and colour flickering after merge.
This PR also fixes more than the two issues in the title, which can be found in the specific commit message.
Thanks to @christianmerour for his fix on #257, thought I might include it in this PR as it is related to bug fixes.
Prettier did some formatting on index.js.
Please modify as seen fit.
Fixes issues where global is undefined and radius and colour flickering after merge. This PR also fixes more than the two issues in the title, which can be found in the specific commit message. Thanks to @christianmerour for his fix on #257, thought I might include it in this PR as it is related to bug fixes.
Prettier did some formatting on index.js. Please modify as seen fit.
edit: Fixes #257, fixes #258, fixes #244, fixes #241 and fixes #239