Bug fix on set x,y when not added to stage