Fix incorrect array length causing undefined errors
Not all blocking elements are stopped on exception
Only stop the block element on the config
Merge branch 'ssiahetiong-blockui-stop' into develop