fix display bug with some images when there is a null baseUrl (why?)