fix: refresh editor on layout change aswell