Fixed fatal error with InnomediaPage in constructor argument
Working layout function