fixed assertion before final position adjustmen when moving mouse