Fix texture.lastFrame init