got polygon mask to work in chrome and safari