fix tmx and sprite example