WSOTWO-87: Fixed bug with double clicking on the first diagram element