fixed an issue that stoped sprites from working

Fixed an issue where image file-path's that came from sprite-file where
looking as absolute to os.path.join and thus fail to get the size.