fixed bug in polygon mobile