add temp sprite, modify UILayer.cpp