Fixing mouse mode configuration