Fixes IOS image relative path problems.