Fix DOMProperty bitmask checking