Fixing flickering and corrupted home layout.

Fixing flickering and corrupted home layout.