Fixed bug with box destroying.