Fixed bug, which caused only the first PreRotation to render.

This corrects the bug causing only the first PreRotation from any particular source file to be displayed. (All the rest weren't displayed at all).