I suspect in the second picture swapping red and the top right sleeved wire might fix it.
If its what Sunray said which is plausible, then in the second picture the red and the bottom right sleeved wire would be the travellers.
The way it is wired now, the master switch (assuming the left...