Minor fixes to sprite export