Fix toggle form field bug on position changed