Refined screen detection