commit before sprite creating