CSS fixes and events loading