Fix a regression when having more than 2 screens