fix grey picture when resolution is the same