Fixed rails not updating with diagonals