Fixing mouse avoiding issue