This might be why this is happening, sorry for interupting
https://www.youtube.com/watch?v=ZAufb115KGU
This might be because when the angle changes slightly. it shifts from case 1 to case 3 (in video shared), so number of images goes to $\frac{360}{\phi} - 1 \to \mathrm{floor}\,\left(\frac{360}{\phi}\right)$ which increases the number of images by 1, moving it in the other direction would not change the number since the floor also decreases by 1.