After asking around in the modding community, this seems to be an issue with your OS, not with the mods used nor my modification specifically.
Try validating game files if you are on steam, or wipe Factorio from your hard drive and reinstall it from the Factorio webpage (You can keep the savefiles, just remember to back them up). And reinstall my mod too. If this doesn't solve the issue , then I have no knowledge of how to solve it.