Fix for wrapping text in popups