Fixed issue where params object is replaced with a new one. Messes up the editor.