Several fixes and modifications on Client, CameraState and the GestureHandler