Fixed bad use of 'this' in resize widgets controller