Question about matter.js and it's update loop