Fix PressComposer hanging bug.

In some cases the press composer was not ending it's interaction if the
pointer was claimed then unclaimed but still released within.
Merge pull request #1404 from francoisfrisch/press-composer-end

Fix PressComposer hanging bug.