Invert useHardwareAcceleration logic for translateZ on hidden input