fix #937 correct pos_hint use in boxlayout (use box position as origin)