VERY POOR DESIGN.
ANY engine heat could start a FIRE.
Gas cap inside the engine compartment? I would be filling that up from gas cans when the engine is cold and then I would allow time after any splashing for the gas to evaporate before I started it.