Fixed MaterialForm's DesignMode