fixed rendering, cleaned up render cube