Hotfix svg memory use

Fix memory problems, when loading svg images (before it tried to always load 512x512px images, instead of the real size..