fix ui bug with boxes

dumbest fix ever