Refactor _setObjectScale