Thank you for sharing your solution. Nowadays most Defold devs add a dependency to RenderCam or Defold-Orthographic and call it a day. Those extension do more or less what you did but nicely abstracted away and with more added benefits such as camera effects, camera follow, zoom and so on.
Thank you for the advice! I’ll look into both RenderCam and Defold-Ortho. It seems that my current setup only works for games that just use the default camera (ie. no camera).