fix(resize): add missing inject