Fix floating of boxes