OK, tested with pretty much every block (and various rotations) - stairs are the only problematic case that I can find.  And I suspect this is related to a vanilla problem which has been reported more than once: https://bugs.mojang.com/browse/MC-1307