Lionel Messi converted a penalty but Saudi Arabia bounced back in the second half.