remove LAZY_DRAW and add preprocessor code