diff --git a/src/platform/osx/Info.plist.in b/src/platform/osx/Info.plist.in
index e3a690662..46858bb29 100644
--- a/src/platform/osx/Info.plist.in
+++ b/src/platform/osx/Info.plist.in
@@ -23,98 +23,103 @@
   <key>CFBundleVersion</key>
   <string>@SLIC3R_BUILD_ID@</string>
   <key>CFBundleDocumentTypes</key>
-    <array>
-      <dict>
-        <key>CFBundleTypeExtensions</key>
-        <array>
-          <string>stl</string>
-          <string>STL</string>
-        </array>
-        <key>CFBundleTypeIconFile</key>
-        <string>stl.icns</string>
-        <key>CFBundleTypeName</key>
+  <array>
+    <dict>
+      <key>CFBundleTypeExtensions</key>
+      <array>
+        <string>stl</string>
         <string>STL</string>
-        <key>CFBundleTypeRole</key>
-        <string>Viewer</string>
-        <key>LISsAppleDefaultForType</key>
-        <true/>
-        <key>LSHandlerRank</key>
-        <string>Alternate</string>
-      </dict>
-      <dict>
-        <key>CFBundleTypeExtensions</key>
-        <array>
-          <string>obj</string>
-          <string>OBJ</string>
-        </array>
-        <key>CFBundleTypeIconFile</key>
-        <string>PrusaSlicer.icns</string>
-        <key>CFBundleTypeName</key>
-        <string>STL</string>
-        <key>CFBundleTypeRole</key>
-        <string>Viewer</string>
-        <key>LISsAppleDefaultForType</key>
-        <true/>
-        <key>LSHandlerRank</key>
-        <string>Alternate</string>
-      </dict>
-      <dict>
-        <key>CFBundleTypeExtensions</key>
-        <array>
-          <string>amf</string>
-          <string>AMF</string>
-        </array>
-        <key>CFBundleTypeIconFile</key>
-        <string>PrusaSlicer.icns</string>
-        <key>CFBundleTypeName</key>
+      </array>
+      <key>CFBundleTypeIconFile</key>
+      <string>stl.icns</string>
+      <key>CFBundleTypeName</key>
+      <string>STL</string>
+      <key>CFBundleTypeRole</key>
+      <string>Viewer</string>
+      <key>LISsAppleDefaultForType</key>
+      <true/>
+      <key>LSHandlerRank</key>
+      <string>Alternate</string>
+    </dict>
+    <dict>
+      <key>CFBundleTypeExtensions</key>
+      <array>
+        <string>obj</string>
+        <string>OBJ</string>
+      </array>
+      <key>CFBundleTypeIconFile</key>
+      <string>PrusaSlicer.icns</string>
+      <key>CFBundleTypeName</key>
+      <string>STL</string>
+      <key>CFBundleTypeRole</key>
+      <string>Viewer</string>
+      <key>LISsAppleDefaultForType</key>
+      <true/>
+      <key>LSHandlerRank</key>
+      <string>Alternate</string>
+    </dict>
+    <dict>
+      <key>CFBundleTypeExtensions</key>
+      <array>
+        <string>amf</string>
         <string>AMF</string>
-        <key>CFBundleTypeRole</key>
-        <string>Viewer</string>
-        <key>LISsAppleDefaultForType</key>
-        <true/>
-        <key>LSHandlerRank</key>
-        <string>Alternate</string>
-      </dict>
-      <dict>
-        <key>CFBundleTypeExtensions</key>
-        <array>
-          <string>3mf</string>
-          <string>3MF</string>
-        </array>
-        <key>CFBundleTypeIconFile</key>
-        <string>PrusaSlicer.icns</string>
-        <key>CFBundleTypeName</key>
+      </array>
+      <key>CFBundleTypeIconFile</key>
+      <string>PrusaSlicer.icns</string>
+      <key>CFBundleTypeName</key>
+      <string>AMF</string>
+      <key>CFBundleTypeRole</key>
+      <string>Viewer</string>
+      <key>LISsAppleDefaultForType</key>
+      <true/>
+      <key>LSHandlerRank</key>
+      <string>Alternate</string>
+    </dict>
+    <dict>
+      <key>CFBundleTypeExtensions</key>
+      <array>
+        <string>3mf</string>
         <string>3MF</string>
-        <key>CFBundleTypeRole</key>
-        <string>Viewer</string>
-        <key>LISsAppleDefaultForType</key>
-        <true/>
-        <key>LSHandlerRank</key>
-        <string>Alternate</string>
-      </dict>
-      <dict>
-        <key>CFBundleTypeExtensions</key>
-        <array>
-          <string>gcode</string>
-          <string>GCODE</string>
-        </array>
-        <key>CFBundleTypeIconFile</key>
-        <string>gcode.icns</string>
-        <key>CFBundleTypeName</key>
+      </array>
+      <key>CFBundleTypeIconFile</key>
+      <string>PrusaSlicer.icns</string>
+      <key>CFBundleTypeName</key>
+      <string>3MF</string>
+      <key>CFBundleTypeRole</key>
+      <string>Viewer</string>
+      <key>LISsAppleDefaultForType</key>
+      <true/>
+      <key>LSHandlerRank</key>
+      <string>Alternate</string>
+    </dict>
+    <dict>
+      <key>CFBundleTypeExtensions</key>
+      <array>
+        <string>gcode</string>
         <string>GCODE</string>
-        <key>CFBundleTypeRole</key>
-        <string>Viewer</string>
-        <key>LISsAppleDefaultForType</key>
-        <true/>
-        <key>LSHandlerRank</key>
-        <string>Alternate</string>
-      </dict>
-    </array>
-    <key>LSMinimumSystemVersion</key>
-    <string>10.10</string>
-    <key>NSPrincipalClass</key>
-    <string>NSApplication</string>
-    <key>NSHighResolutionCapable</key>
-    <true/>
+      </array>
+      <key>CFBundleTypeIconFile</key>
+      <string>gcode.icns</string>
+      <key>CFBundleTypeName</key>
+      <string>GCODE</string>
+      <key>CFBundleTypeRole</key>
+      <string>Viewer</string>
+      <key>LISsAppleDefaultForType</key>
+      <true/>
+      <key>LSHandlerRank</key>
+      <string>Alternate</string>
+    </dict>
+  </array>
+  <key>LSMinimumSystemVersion</key>
+  <string>10.10</string>
+  <key>NSPrincipalClass</key>
+  <string>NSApplication</string>
+  <key>NSHighResolutionCapable</key>
+  <true/>
+  <key>LSEnvironment</key>
+  <dict>
+    <key>ASAN_OPTIONS</key>
+    <string>detect_container_overflow=0</string>
   </dict>
+</dict>
 </plist>