Fixing Spritemap initialization bug on Linux64 target. Bug was caused by dividing _rect.x by _width before _width had been set, resulting in a rect with x=NaN. Checking that width is nonzero fixes the issue.