Fixed autofocus issue introduced from commit 4dd14ae.
Merge pull request #16 from justindarc/camera-refactor

Fixed autofocus issue introduced from commit 4dd14ae.