It is hard for us to debug something that could depend on so many other things, such as control parents, other event code (why are you changing the MaximumSize?) that could be changing the order.

I mentioned above, but will mention again. Give up on hardcoding this, just anchor the controls, job done.