Fixed major recursion bug in setting zoom variables.