anchor.diff:  	remove_overlay(FACEMASK_LAYER)
   
   	if(istype(wear_mask, /obj/item/clothing/mask))
  -		wear_mask.screen_loc = ui_mask
  -		if(client && hud_used && hud_used.hud_shown)
  -			client.screen += wear_mask					// add the item to the HUD
  +		if(client && hud_used && hud_used.hud_shown)
  +			if(hud_used.inventory_shown)				//if the inventory is open ...
  +				wear_mask.screen_loc = ui_mask	//TODO	//...draw the item in the inventory screen
  +			client.screen += wear_mask					//Either way, add the item to the HUD
   
   		var/image/standing	= image("icon"='icons/mob/mask.dmi', "icon_state"="[wear_mask.icon_state]", "layer"=-FACEMASK_LAYER)
   		overlays_standing[FACEMASK_LAYER]	= standing
  
positive.code: 	remove_overlay(SHOES_LAYER)
  
  	if(shoes)
  		shoes.screen_loc = ui_shoes
  		if(client && hud_used && hud_used.hud_shown)
  			client.screen += shoes					// add the item to the HUD
  
  		var/image/standing	= image("icon"='icons/mob/feet.dmi', "icon_state"="[shoes.icon_state]", "layer"=-SHOES_LAYER)
  		overlays_standing[SHOES_LAYER]	= standing
  
negative.code: 	remove_overlay(ID_LAYER)
  	if(wear_id)
  		wear_id.screen_loc = ui_id	//TODO
  		if(client && hud_used)
  			client.screen += wear_id
  
  		overlays_standing[ID_LAYER]	= image("icon"='icons/mob/mob.dmi', "icon_state"="id", "layer"=-ID_LAYER)
  