Fix scope of UI.contentBlock argument

Eric Dobbertin’s bug