Fix zoom error in resource manager