I changed the order of points of the polygon and it worked. If you have some weird issue, be sure to try that : )