Fixed small bug with box formation.