Fixed bug with CocosPlayer connectivity