Adds an observeOnFrame function for rendering observed objects at frame rate.