clamp used bbox to page dimension