I don't know the pixel measurements for your intent, but more or less that should work. You'll have to adjust the numbers to fit the game properly.
Still, keep in mind, it's kind of a hacky workaround. iFrames aren't meant to behave like this. I would test it heavily with a lot of browsers with a lot of various versions. Some browsers, or versions of browsers, might behave kind of funky.