Fix zoom gesture bugs