Implemented basic frustum culling, but it's not working right