The global namespace is somewhat shared across PJSR script executions. AnnotateImage defines FontControl by including CommonUIControls.js, and so FontControl is then available to subsequent executions of MosaicPlanner. The fix is to modify MosaicPlanner to include CommonUIControls.js explicitly.
Thanks,
Mike