fix edge case focus
fix edge case focus

closes #412

cordova-plugin-camera-preview/cordova-plugin-camera-preview,cordova-plugin-camera-preview/cordova-plugin-camera-preview,mbppower/CordovaCameraPreview,mbppower/CordovaCameraPreview