Fixing prism bug.