implemented Sheet.autofit() for Mac