WICKET-5499 Page is not touched during initialization

(cherry picked from commit d86d9afa8fc5d21d0d5a1c70e0fcd780ace6e3e6)