The 44th U.S. President apologized for stepping into the shot.