Fixed an issue with improper autofocusing