Fix for gallery title overflow