Added WrapPanel for stages