Handling dynamic resolution changes