Revert "fix some frameworks cursor leaks"

Change-Id: I366fff14761e0e31bc0b946709b73115e1bbe1d4