Improve DomEvent.requestAnimationFrame() code to only handle canvases that are actually visible.
Keep the native animation loop running as long as there are unprocessed callbacks.