Fixed bug where events would not update when using the rightclick to open editor