Fix longstanding bug with timestamp generation

Fix rendering of untextured primities