fix for mask blocking permissions box in flash