Fix scroll layer, fix a memory leak, remove some logging