Fix block creation and add quad tree debug view