8160696: IllegalArgumentException: adding a component to a container on a different GraphicsDeviceReviewed-by: serb