The viewer should not be opened if no pixels so it should not happen