I think this is not a problem in itself. Matthias, favoured to have an heir, would have some impetus to leave a legacy behind and start to act accordingly. Also, one should note that Anna wasn´t just empress of the HRE...she was the crowned Empress(the last time that had taken place had been...