Made editor updates happen before render.