Notice that the output of the EF is showing an active state even though the EN pin is disabled. Selecting this option in your Project settings will correct condition.
Tools\Project Settings\Program\Languages\Common
The attached PDF will show the effect of not selecting the Project Setting "Maintain Output Links on Disabled EF"
The attached PDF will show the effect of not selecting the Project Setting "Maintain Output Links on Disabled EF"