Bug fix in preload styles