Fix bug #163 that prevented loading of remote images