Fixed landscape being used out of scope