small fix for issue #814

fixed two minor bugs, a twohanded gesture may not have a direction, and if autoCenter is false, the tipPosition was in the wrong scope