Fixed for IMG, allowing machines with nonfree stateset