mapfishapp: fixed call to getEl() on undefined when a defaultButton is set and the window is animated