Editing an object with a reference breaks instant preview