IVE: Instatation is done inside a function, if that function is at position 0/0
Steps to reproduce:
- A scene, where a function is at position 0/0
- Right click on on of the shared types
- Select "Instantiate entity"
-> The new function is created inside (nested) the function at position 0/0, but should be not nested