Updates UIScreen snapshot so that it works on iOS 4 and later and on devices not only simulator.