Can the intergalactic medium cause a rapid drop in Lyα emission at z > 6?