Take picture only on valid focus. Workaround for issue # 61394