renderMoment is now working properly! Rejoyce! The engine code is a mess, but it seems to work