Handling mouse highlight