Fixed autotype on Yosemite (issue #230)