Fixed running embedded app in same process context