Solved a bug on the zoom constrain example