Fix mouseup & focus