Fix selection when zoom enabled - #598