Fixed SIGSEGV

For some unkown reason, it happened on Debian but not on Ubuntu
Reason was parent element tried to arrange children before the child being
added had loaded its surface