Fixes #1208 xmlhttp.php theme loading doesn't make any sense

#1208
Note that we don't check the imgdir (eg whether a cdn is used) which may cause problems. 1.6 doesn't check it too so I wasn't sure whether we need to add it (I'm also not sure why we load the theme in the first place). If you think we should add these check too let me know.