fix animation flicker when two overlapping views have transparent backgrounds