Minor fixes in the sticky piston logic

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>