Unfortunately, that does not seem to fix the problem. I believe the key lies in the fact that the code works perfectly for bitmap images but not for SVG images. I have a feeling the problem lies in my implementation of the (SVG)ViewerComponent; I will continue to search for a fix.