#1033, #1043: Add autoFocus option