fix bug where adding first sketch does not re-enable the editor button