Lazy loading fixes and windows resisability