Fixes relative resource urls