Updated polygon to work with mobile.