Validate callback in DynamicObject._onMove()

This may or may not fix #40.