Fix resolution of images for modes.
Merge branch 'master' of https://github.com/kazyx/WPPMM