Autofocus ftw (closes #277)