#1997 - Correct movie dimensions and mime type improperly set by contributed modules.

- Added code to check/correct movie width, height, and mime in graphics::generate.

As the comment says in the commit, this isn't ideal, but doing it in an upgrade
script wouldn't be very ideal either.