[BUG] Setting position of Sprite to NaN crash application

Hello there i don’t know is this a bug but it would be nice that application don’t crash when i do such thing:

CCPoint position; //Set for example position.x to NaN;
getSprite()->setPosition(position);

Crush is litle bit funny in CCGeometry::setRect

Also i would like to fix this bug if you accept it :slight_smile: just give me link to github with issue.

PS. On Android application just do a memory leak so big that it crush app :wink: