Update the speed when moving diagonally so it is more natural.