Removed passing current state with maximizedstatechange event.