set PhaseId for resizeEvent corrected