fixed #2293 PerformanceSpriteTest.js now adapts to mobile platform

PerformanceSpriteTest.js now adapts to mobile platform