D-14446 - Aamount failed: Unhandled Exception: System.DivideByZeroException

Add reinitialization of console driver
I'd like @ekovalenko-softheme to view this,
Usually preprocessor directives are placed at the beginning of line