Fix wrong type on mouse button fix
Move final frame adjust in flashing to timeout func

This possibly avoids badness when the timeout destroy notify is removed
from the frame release func.