fix broken mouse edit