Fix issue when rotating images
Corrige teste