Sprite funcs is now working well with png transparency