got cube rendering again (although glitchy)