H5P content not displaying correctly in Totara

Hello

I am using this code {h5p:whatever} to link the H5P activtity into a Totara activity like a book or lesson, except the totara lesson or book window does not expand to display all of the H5P content.  Does anyone have a fix for this?  It is all content types - attached are three examples; multiple choice, summary and drag and drop (images)

 

 

Content types: