Fix flipping invisibles (ref #173)