added surface reference to sprite construction