movement:on_position_changed() now takes x and y parameters. Fix #342.