issue #4174 fixed bug for setTitleColor
issue #4174 fixed bug for setTextureRect