diff --git a/IHM_Retouche_Photo/ui/view/imagearea.cpp b/IHM_Retouche_Photo/ui/view/imagearea.cpp
index 383577fc16a6926399b7638f861349f7ffdfd528..242b7e4d532642432e226027ed25f7f7ee062c85 100644
--- a/IHM_Retouche_Photo/ui/view/imagearea.cpp
+++ b/IHM_Retouche_Photo/ui/view/imagearea.cpp
@@ -87,8 +87,8 @@ namespace ui {
             pixelPosition.setY(abs(pixelPosition.y()) / this->_zoom);
         }
 
-        this->repaint();
         emit this->mouseReleased(*this, this->_image, pixelPosition, this->_selection, *e);
+        this->repaint();
     }
 
     void ImageArea::keyPressEvent(QKeyEvent * event) {
@@ -109,8 +109,8 @@ namespace ui {
             pixelPosition.setY(abs(pixelPosition.y()) / this->_zoom);
         }
 
-        this->repaint();
         emit this->keyboardRelease(*this, this->_image, pixelPosition,this->_selection, *event);
+        this->repaint();
     }
 
     void ImageArea::wheelEvent(QWheelEvent *event) {