Fixed bug with triangles disappearing