Added layering support to SpriteBatch