Return default scale factor if frame is invalid