Fix for markdown flickering