fix image exposure in paint mode by BeFunky