Fixed lastScreen if contained variables.