Fixed application rendering on changed states.