[Framework] Fixed bug with scanning on iPad mini