Probing optimisation in physics-informed neural networks