fixed another minor bug with image positioning