Recover clearing of selection that is placed outside canvas
For some reason it was disable when fixing assistant tools, but I don't see how it could be related.
CCBUG:293987