Add erase pixels update, fix mouse up overwriting pixel bug