Fixes bug with menu editor