Return default scaling factor if frame is invalid