Removed unused mouseUsed flag