Using window's scale factor