Update Actor3D.js

Moved the code wrongly put in TimeManager.