Cube Renders, but only in Release

Debug mode seems to have a bug that causes an AV