Fixes issue with index offset math on long press gesture event handler.