Photospheric electric current and transition region brightness within an active region