Fix issue with image view taking up too much space