IO: Clear AppFocusLost in EndFrame() in order to allow backend or application code to poll and react to it

+ Amend a241dc7 with the same clearing of MouseDownDuration[] as keyboard ones.
1 file changed