Factor out draw.lua.