Fix issue #18

https://code.google.com/p/imageglass/issues/detail?id=18&colspec=ID%20Type%20Status%20Owner%20Summary