center digits in parent frame, fixes #2