Cleanup debug logging of screen dimensions