[composer] Fix calculation of mouse action for position for mouse handles (refs #10143, tentative fix)