Fix box grid drawing (way faster!)