[DF-5016] Fixed calculating of visible area