minor fixes for renderer autoresizing