Fixed prism bug