Fix a memory leak when customizing the dice that would cause slow downs and freeze after a while. Please note, there is still another one happening when you open and close the setting window. We're looking for a fix but it's a tricky one. If you find yourself opening and closing the dice setting window a lot, please consider refreshing your page if you experience slowdowns.