Partial fix for 'Display of elements constantly refreshed