Fix the "poke" method on the layer.