When constructing the OpenLayers theme URL, use public_url() instead of url(), which fixed broken images in the editor.