fix #596 svg was breaking layout at times