Updated sprite batch sample