Fixed undefined index when editing panels with user menu block inserted