Fixed destroyElement not working on effect elements