fix master button colorSet and textOffset calculation