Fixed Module Designer bug from 4.0.x