Fixed bug when displaying multiple boxes (all boxes got removed from page)