Add option to disable auto-focus

This fixes #523.