The current /templates/custom/create.twig calls the the image loading.gif with the following path : {{ static('/img/loading.gif') }}.
When there's not prefix set to xhgui, it ends up with the wrong path (at least on firefox), because of the extra slash at the beginning.
All the other calls ot the static() function does not include a starting slash.