Fixed bug where applying styles on WebKit would fail in inline mode if the user released the mouse button outside the body.