Modified the onDoubleTap method to first check if the scale is less than the medium scale. This was the case until edd339327 when this was changed to getMinimumScale which stopped images zooming in on double tap.