Fixes selection while clicking on empty flexbox space.
This only happens in firefox and seems to be a bug in firefox
flexbox implementation, where the first child element with a
non zero size, in a flexbox managed `block` element, has the
`float` property.
Fixes#405