Fix range check on item clearing to refer to the Main.item[] being cleared and not the fake coordinates being sent by the client.