Fixed bug so traj playback works in Firefox.