Resizing GLMakie figure to display window

For the following figure,

using GLMakie

fig = Figure(fontsize = 27)
sl = Slider(fig[1, 0])
[Axis(fig[i, j], width = 600, height = 300, title = "i,j") for i in 1:2, j in 1:3]
le = LineElement(color=:red,linewidth=2,linestyle=:solid)
Legend(fig[0, 1:3], [le,le,le], ["Test1", "Test2", "Test3"], orientation=:horizontal)
Legend(fig[1:2, 4], [le,le,le], ["Test1", "Test2", "Test3"])

resize_to_layout!(fig)
fig

when I display it I’m not able to view all of the contents. Instead, in the Makie window that opens up all I see is

This is the window in full size, but resizing it only hides more things. How can I resize the figure properly to view everything?

Remove the height and width keyword from Axis