Fixes #19 Scanning 2x crashes app