Fix clientResolution problem when layer does not support the clientResolution