Fixed whitespace bug that was causing included images to become corrupt.