Fix errors thrown in Stacklife RelatedsView resize handler