Fixed empty sprite bug, resolves #132