[ESourceSelector] Fix a memory leak on a mouse button press event