fix broken mouse edit
Merge pull request #2900 from ZappoMan/deletemodel

fix broken mouse edit