fixed width bug in stackpane