Fixed accidental removal of call to fixLayout()