Proteas ‘feel they’re still ahead’ against Bangladesh despite Mehidy Hasan Miraz fightback