Self-Field Effects on Electron Dynamics in Free-Electron Lasers with Axial Magnetic Field