Fixed an invalid memory access caused by removing the world position buffer