The wrong slot was set when updating the last-click value