BuildComsButtonsGroup position calculation