Fixed a bug when disabling the plugin that could cause issues if the static effect isn't enabled.