Revert "Allow set directly resize property"

This reverts commit e8c606e1b365a24789c5f3c362b02fee18d00034.