Implemented sprite clipping & texture sorting