fix NullPointerException of mispositioned bounding box initialization