Fixes #2303: Fixed the bug that `yii\base\Theme::pathMap` did not support dynamic update with path aliases