materialEd: Fix double View menu creation