Added more hide, show and render event, changed viewport's center