Fix #3589 Incorrect preview URL after changing in menu state

https://github.com/divio/django-cms/issues/3589 for details.

This pull request is for 3.0.x branch if it's possible to be released before 3.1