Reduce Memory Usage

reduce memory usage by reduce mask window size when control device
backlight