Fixes bug in quantity selector not rendering