- fixed a bug where rearranging elements in display mode would cause preview to be not updated