Fix misnamed variable in zoom function