Fixed a bug which caused decodeBitmap to attempt to load a remote and not local url.