bugfixes to block bounding boxes