Clip update rectangle for Texture::updateSubRect to texture size
*** This bug has been marked as a duplicate of bug 49929 ***