[Fix bug 1038619] Fix double attribution with custom attributionControl.