Fixes chem dispenser properly

Fixed #2051
Merge pull request #2091 from Razharas/ChemDesp

Fixes chem dispenser properly