[BUG #7621] Popup can't be reused if mixing anchor and non-anchor modes
* Removed CSS anchor classes on _updatePosition.
* Refactoring of CSS names of anchors.