Change onMoveInvalid signature