ported to love 0.9.0 so that border can be switched off