Eliminating camera shake with program and aperture priority