     @objc private func focus(gesture: UITapGestureRecognizer) {
 
         let point = gesture.locationInView(self)
+        let focusPoint = CGPointMake(point.y / bounds.size.height, 1 - point.x / bounds.size.width);
 
-        guard focusCamera(point) else { return }
+        guard focusCamera(to: focusPoint) else { return }
 
         focusView.hidden = false
         focusView.center = point

        })
    }

    private func focusCamera(toPoint: CGPoint) -> Bool {

        guard let device = cameraDevice else { return false }

        guard let focusPoint = (layer as? AVCaptureVideoPreviewLayer)?.captureDevicePointOfInterestForPoint(toPoint) else { return false }

        do {
            try device.lockForConfiguration()

        }

        if device.focusPointOfInterestSupported {
            device.focusPointOfInterest = point
        }

        if device.isExposureModeSupported(.ContinuousAutoExposure) {
