Fixed the bug with the images in gallery view. Changed the ImageView to a FrameView in the Grid.