camera: fix sensor default resolution return error when user resolution isn't catch