Return default scaling factor if frame is invalid
Return default scaling factor if frame is invalid

h3xus/leapjs,leapmotion/leapjs,WenjieWu/leapjs,rwaldron/leapjs,h3xus/leapjs,WenjieWu/leapjs,leapmotion/leapjs,majoranaa/LAHACKS