Add an event block:on_moving() (fix #334).