I remember having the same issue on Mojave dark theme after setting NSRequiresAquaSystemAppearance = NO
in Info.plist
(which is no longer needed due to linking against a newer macOS SDK).
This was my original issue, but I can no longer reproduce it on Catalina: Defold games show blank screen in Dark Mode
My workaround was to resize the window on boot with defos:
if system_name == "Darwin" then
local x, y, w, h = defos.get_view_size()
defos.set_view_size(x, y, w, h - 1)
timer.delay(0.0, false, function ()
defos.set_view_size(x, y, w, h)
end)
end