Fix major graphics glitch: Thumbnail may overlap into the edit area

Backend. Screen: https://www.dropbox.com/s/rlilzsr5d7dfb5v/fix-evogallery-graphics-glitch.png