Small fix for pixels density accounting