fixed bug that shrank images