Attach input listener before adding mouse

Cold flow doesn't run until it's subscribed. Moving input listener
inside the flow and attaching it before adding mouse is more coherent

Bug: 380001108
Test: presubmit
Flag: EXEMPT fix test rule
Change-Id: Ic0a3946bca3ba390c8a57e7745fb3eb88fcfaecb
1 file changed