Pedrosa fifth on grid but still smiling