|  |  | @@ -475,8 +475,16 @@ function updateEntityElement(entity, element) { | 
		
	
		
			
			|  |  |  | const extra = entity.views[view].image.extra; | 
		
	
		
			
			|  |  |  | const bottom = entity.views[view].image.bottom; | 
		
	
		
			
			|  |  |  | const bonus = (extra ? extra : 1) * (1 / (1 - (bottom ? bottom : 0))); | 
		
	
		
			
			|  |  |  | element.style.setProperty("--height", pixels * bonus + "px"); | 
		
	
		
			
			|  |  |  | element.style.setProperty("--extra", pixels * bonus - pixels + "px"); | 
		
	
		
			
			|  |  |  | let height = pixels * bonus; | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | // working around a Firefox bug here | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | if (height > 17895698) { | 
		
	
		
			
			|  |  |  | height = 0; | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | element.style.setProperty("--height", height + "px"); | 
		
	
		
			
			|  |  |  | element.style.setProperty("--extra", height - pixels + "px"); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | element.style.setProperty("--brightness", entity.brightness); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
	
		
			
				|  |  | 
 |