You have a point there. That looks like an unintended change of behavior. Could you please file a bug with a quick repro in Colab + reference to the PR that caused this? Or even better, suggest fix as a PR?
https://github.com/keras-team/keras 1