fixed altk_widget_realize()