fix camera jumping in touch mode