Make sure screens are valid before setting them