Only draw visible savedata icons, fix leak.

Fixes #4870.
Merge pull request #4872 from unknownbrackets/savedata

Only draw visible savedata icons, fix leak