Added requestAnimationFrame support; using setTimeout as fallback for rendering cycle in Stage class