keep bbox in page area