Fix leaking globals in flowers and default mapgen.lua