Fix bug of FormPanel, I don't know why the OnPreInit event was not raised.