fixed bug pertaining to boxes rendering all over the place