I have apex page with apex output panel and apex action function. Sometimes when action function called the result in ajax response overrides whole apex page. So instead of the page I have ajax response rendered into apex page. It's not determined and happens at random manner. I have no any clues why it happens, any ideas?