LOL! Yes, there are issues with all of this, and I'm going to take back my earlier comment about almost 'getting it'. Firstly, I think one of the calculations earlier is off by a decimal point, and also if you take an example of:
Start with 100,000
Loss 5%
Get a deposit of 1,000,000...