improve tpsCamera, mobile support