Fix a bug on zooming and solve #26