Fixed temporal aliasing by simply processing the remainder of the elapsedTime. The reason this didn't work before is that I forgot elapsedTime was persistent and carried over through process loops. After processing the remainder, elapsedTime must be set to 0.