Fix element's modifier declaration bug. Closes #447

Issues/447@v2