Fixed issue with incorrect slide being displayed when specified as active in markup