fixed memory leak cause by singleton.
Merge pull request #7262 from pandamicro/origin_v3

Indicate correct button and cursor position infomation in mouse move event
Merge pull request #7347 from Dhilan007/v3-memory-leak

fixed memory leak cause by singleton.