Attempt to fix appearance flicker issue