Quote:

When something works PROBLEM FREE it works isn't that the purpose ? ... it says its a working game WITHOUT ERRORS that can easy be adapted and changed ...


That is a perfect description of what your code is not. It runs circumstantially because the engine does not overwrite the parents entitys address, not because it is problem free or without errors.