Fix target getting in propagated mouseDowns

mouseIsDown is only set to true after the the current target.getAction()
returns a valid action. If it doesn't return a valid action, mouseIsDown
remains false and the next call of mouseDown tries to get a new target.