Broken image URLs in rack view
### NetBox version

v3.2.5

### Python version

3.9

### Steps to Reproduce

1. Have device types with front and rear device pictures uploaded and hosted on a separate domain (we use it for static content, let's say https://static.domain/images/front.png)
2. Have devices installed in a rack
3. View the rack with https://your.netbox.domain/dcim/racks/$some_id/

### Expected Behavior

Front and Rear rack view filled with images of device types of the devices installed to this rack.

### Observed Behavior

Blueish tint instead of images because the URLs for images are now prefixed with the netbox domain (like https://your.netbox.domainhttps://static.domain/images/front.png which is obviously unavailable)
Seems like this is caused by https://github.com/netbox-community/netbox/issues/9503. Rack views were fine on 3.1 which we had before the update.
Device type views (https://your.netbox.domain/dcim/device-types/$id/) show images just fine on 3.2.5, links are not broken.
diff --git a/netbox/dcim/svg.py b/netbox/dcim/svg.py
index 1de68ec36..4c093a312 100644
--- a/netbox/dcim/svg.py
+++ b/netbox/dcim/svg.py
@@ -113,8 +113,12 @@ class RackElevationSVG:
 
         # Embed front device type image if one exists
         if self.include_images and device.device_type.front_image:
+            url = device.device_type.front_image.url
+            # Convert any relative URLs to absolute
+            if url.startswith('/'):
+                url = '{}{}'.format(self.base_url, url)
             image = drawing.image(
-                href='{}{}'.format(self.base_url, device.device_type.front_image.url),
+                href=url,
                 insert=start,
                 size=end,
                 class_='device-image'
@@ -139,8 +143,12 @@ class RackElevationSVG:
 
         # Embed rear device type image if one exists
         if self.include_images and device.device_type.rear_image:
+            url = device.device_type.rear_image.url
+            # Convert any relative URLs to absolute
+            if url.startswith('/'):
+                url = '{}{}'.format(self.base_url, url)
             image = drawing.image(
-                href='{}{}'.format(self.base_url, device.device_type.rear_image.url),
+                href=url,
                 insert=start,
                 size=end,
                 class_='device-image'
['netbox/dcim/svg.py']